﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Main.master" AutoEventWireup="true"
    CodeBehind="UserPhoto.aspx.cs" Inherits="AUV5.Web.Pages.UserPhoto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/!js/UserAvatar.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:HiddenField ID="hdSessionId" runat="server" />
    <div class="fl main_left">
        <p class="usertitle">
            个人资料
        </p>
        <div id="showList" class="userprofile">
            <div class="massage_left">
                <ul>
                    <li><a href="/Pages/UserBasicInfo.aspx">个人信息</a></li>
                    <li class="selected">我的头像</li>
                    <li><a href="/Pages/UserPassword.aspx">修改密码</a></li>
                </ul>
            </div>
            <div class="massage_right userprofile_rightbg">
                <p class="passwordtxt">
                    支持JPG、PNG类型的图片上传。<br />
                    我们需要确认上传的图片不大于2MB。<br />
                    请您上传的图片的宽高都不小于100像素。</p>
                <p id="result" class="correctinfo" style="display: none">
                </p>
                <p class="passwordtit">
                    上传头像
                </p>
                <div class="passwordmain">
                    <div class="userphoto_one">
                        <span style="margin: 0 20px 0 0; display: block; float: left; line-height: 30px;">上传图片</span>
                        <input id="pointX" runat="server" type="hidden" value="0" />
                        <input id="pointY" runat="server" type="hidden" value="0" />
                        <input id="hidImageUrl" type="hidden" value="" />
                        <input id="maxVal" runat="server" type="hidden" value="300" />
                        <input id="tempUrl" type="hidden" runat="server" />
                        <span style="display: block; float: left;">
                            <input type="file" name="uploadify" id="uploadify" />
                        </span><span style="font-size: 12px; color: #777a77; line-height: 30px; padding-left: 10px;">
                            从您的电脑中选择一张图片</span>
                    </div>
                    <p class="clear">
                        <asp:HiddenField ID="hfIsChange" Value="no" runat="server" />
                    </p>
                    <span style="float: left; margin: 0 20px 0 0;">调整图片</span>
                    <div class="fl avatarbg">
                        <div class="avatarboxbar">
                            <div id="bgDiv">
                                <div id="dragDiv">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="avatarthumb">
                        <asp:Image ID="imgCut" ImageUrl="/!images/ef_pic.jpg" runat="server" />
                    </div>
                    <p class="clear">
                    </p>
                    <br />
                    <div class="saveborder">
                        <img id="imgBtnSave" class="userprofile_save" alt="" src="/!images/btn_saveoff.jpg"
                            onmouseover="MM_swapImage('imgBtnSave','','/!images/btn_saveon.jpg',6)" onmouseout="MM_swapImgRestore()"
                            style="display: none;" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="fr main_right">
        <div class="basic_info">
            <p class="noreg">
                头像显示在什么地方？</p>
            <p class="basic_goregq">
                您在AUV5.com（唯5）网上发布内容或者是与别人对话时，头像会显示在正文的左侧。除此之外，当您购买了别人的服务之后，也会出现在别人的订单列表中。
            </p>
        </div>
        <p class="fr">
            <a href="">
                <img src="/!images/logo_privacy.jpg" /></a></p>
        <p class="clear">
        </p>
    </div>
    <p class="clear">
    </p>
</asp:Content>
